import { View, Text, StyleSheet, Button } from 'react-native';

export  default  ( { navigation }:any) => {
  return (
    <View style={styles.container}>
      <Text>hello cart/index</Text>
      <Button title="go to agreement" onPress={() => navigation.navigate('AgreementScreen')} />
    </View>
  );
};

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
});
